package com.rc.web.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.rc.pojo.dto.question.QuestionAddDTO;
import com.rc.pojo.dto.question.QuestionQuery;
import com.rc.pojo.po.Question;
import com.rc.pojo.vo.question.QuestionListVO;
import com.rc.pojo.vo.question.QuestionPageVO;
import com.rc.pojo.vo.question.QuestionVO;

/**
 *  服务层。
 *
 * @author 27806
 * @since 2024-06-29
 */
public interface QuestionService extends IService<Question> {

    QuestionListVO getListByPlantId(Long plantId, Long illId);

    void add(QuestionAddDTO dto);

    Page<QuestionPageVO> getPage(QuestionQuery query);

    void deleteOneById(Long id);

    QuestionVO getOneById(Long id);

    QuestionListVO getListByIllId(Long illId);
}
